package com.example.model.constants;

public class CodeConstants {

    /***********    通用    **********/
    public static final int SUCCESS = 200;

    public static final int ERROR = 500;

    public static final int VALIDATE_ERROR = 400;

    /***********    登录    **********/
    public static final int LOGIN_ERROR = 401;

    public static final int LOGIN_NOTFOUND = 403;


    /***********    支付    **********/

    public static final int ALI_ERROR = 410;//支付宝接口异常
    public static final int PAY_LESS = 411;
    public static final int PAY_TYPE = 421;
    public static final int PAY_QRLESS = 431;

    /***********    房间    **********/
    public static final int ROOM_NOT_AVAILABLE = 422;


    /***********    插入    **********/
    public static final int INSERT_ERROR = 412;


    /***********    订单    **********/
    public static final int DOUBLE_ORDER = 420;

    /***********    预定    **********/

    public static final int RESERVE_ERROR = 423;

    /***********    created与updated    **********/
    public static final int CREATED_UPDATED_ERROR = 444;


}
